package demo4;

public class Test {
    public static void main (String[] args)
            throws CloneNotSupportedException {
        Person person = new Person("张三");
        Person person2 = (Person)person.clone();
        person2.money.money = 19.9;
        System.out.println(person.money.money);
        System.out.println(person2.money.money);

    }

}
